/*
 * @Descripttion: your project
 * @version: 1.0
 * @Author: hongweixun
 * @Date: 2022-05-31 08:24:47
 * @LastEditors: hongweixun
 * @LastEditTime: 2022-09-27 13:44:09
 */

import { get, post } from '../../util/http'
export interface Params {
    captch_key?: any,
    code?: any,
    openid?: any,
    passwd: string,
    username: string
}
export const getLogin = (obj: any) => post('/SystemAuth/PhoneLogin/', obj)
export const getCode = (obj: any) => get('/SystemAuth/GetToken/', obj)
export const getCodeByList = (obj: any) => get('/SystemAuth/DingTalk/', obj)
export const getQwLogin = (obj: any) => get('/SystemAuth/QYWechat/', obj)


